package com.ruoyi.washer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 终端团队对象 xw_enduser_team
 *
 * @author hawking
 * @date 2023-12-26
 */
public class XwEnduserTeam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 团队ID */
    private Long teamId;

    /** 管理员 */
    @Excel(name = "管理员")
    private String adminOpenId;

    private String adminName;

    /** 补货员 */
    @Excel(name = "补货员")
    private String replenishmanOpenId;

    private String replenishmanName;

    /** 邀请码 */
    @Excel(name = "邀请码")
    private String invitationCode;

    /** 邀请码创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "邀请码创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date invitationTime;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private String deleteFlag;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新时间 */
    private Date updatedTime;

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getReplenishmanName() {
        return replenishmanName;
    }

    public void setReplenishmanName(String replenishmanName) {
        this.replenishmanName = replenishmanName;
    }

    public void setTeamId(Long teamId)
    {
        this.teamId = teamId;
    }

    public Long getTeamId()
    {
        return teamId;
    }
    public void setAdminOpenId(String adminOpenId)
    {
        this.adminOpenId = adminOpenId;
    }

    public String getAdminOpenId()
    {
        return adminOpenId;
    }
    public void setReplenishmanOpenId(String replenishmanOpenId)
    {
        this.replenishmanOpenId = replenishmanOpenId;
    }

    public String getReplenishmanOpenId()
    {
        return replenishmanOpenId;
    }
    public void setInvitationCode(String invitationCode)
    {
        this.invitationCode = invitationCode;
    }

    public String getInvitationCode()
    {
        return invitationCode;
    }
    public void setInvitationTime(Date invitationTime)
    {
        this.invitationTime = invitationTime;
    }

    public Date getInvitationTime()
    {
        return invitationTime;
    }
    public void setDeleteFlag(String deleteFlag)
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag()
    {
        return deleteFlag;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teamId", getTeamId())
            .append("adminOpenId", getAdminOpenId())
            .append("replenishmanOpenId", getReplenishmanOpenId())
            .append("invitationCode", getInvitationCode())
            .append("invitationTime", getInvitationTime())
            .append("deleteFlag", getDeleteFlag())
            .append("createdTime", getCreatedTime())
            .append("createBy", getCreateBy())
            .append("updatedTime", getUpdatedTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
